home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLDDDDCCCCLLLLOOOOSSSSEEEE((((3333XXXX)))) LLLLDDDDCCCCLLLLOOOOSSSSEEEE((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- ldclose, ldaclose - close a common object file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ffffiiiilllleeeehhhhddddrrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<llllddddffffccccnnnn....hhhh>>>>
-
-
- iiiinnnntttt llllddddcccclllloooosssseeee ((((ldptr))))
- LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
-
- iiiinnnntttt llllddddaaaacccclllloooosssseeee ((((ldptr))))
- LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_d_o_p_e_n(3X) and _l_d_c_l_o_s_e provide uniform access to simple object files and
- object files that are members of archive files. An archive of common
- object files can be processed as if it is a series of simple common
- object files.
-
- If TTTTYYYYPPPPEEEE((((_l_d_p_t_r)))) does not represent an archive file, _l_d_c_l_o_s_e closes the
- file and frees the memory allocated to the LLLLDDDDFFFFIIIILLLLEEEE structure associated
- with _l_d_p_t_r. If TTTTYYYYPPPPEEEE((((_l_d_p_t_r)))) is the magic number for an archive file and
- if archive has more files, _l_d_c_l_o_s_e reinitializes OOOOFFFFFFFFSSSSEEEETTTT((((_l_d_p_t_r)))) to the
- file address of the next archive member and returns FFFFAAAAIIIILLLLUUUURRRREEEE. The LLLLDDDDFFFFIIIILLLLEEEE
- structure is prepared for a later _l_d_o_p_e_n(3X). In all other cases,
- _l_d_c_l_o_s_e returns SSSSUUUUCCCCCCCCEEEESSSSSSSS.
-
- _l_d_a_c_l_o_s_e closes the file and frees the memory allocated to the LLLLDDDDFFFFIIIILLLLEEEE
- structure associated with _l_d_p_t_r regardless of the value of TTTTYYYYPPPPEEEE(_l_d_p_t_r).
- _l_d_a_c_l_o_s_e always returns SSSSUUUUCCCCCCCCEEEESSSSSSSS. The function is often used with
- _l_d_a_o_p_e_n.
-
- The program must be loaded with the object file access routine library
- lllliiiibbbbmmmmlllldddd....aaaa.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fclose(3S), ldopen(3X), ldfcn(4).
-
- BBBBUUUUGGGGSSSS
- OOOONNNNLLLLYYYY the memory associated with the LLLLDDDDFFFFIIIILLLLEEEE structure proper is freed.
- Memory allocated for subordinate structures (e.g. the symbol table) must
- be freed PPPPRRRRIIIIOOOORRRR to calling _l_d_c_l_o_s_e or _l_d_a_c_l_o_s_e.
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-